﻿<%@ Page Language="C#" EnableViewState="false" AutoEventWireup="true" CodeFile="DebugCode.aspx.cs" Inherits="AdminCMS_DebugCode" %>

<%@ Register Src="~/UIControls/WUC_DialogTextBox.ascx" TagName="WUC_DialogTextBox"
    TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>调试功能</title>    
    <script type="text/javascript" src="js/UIMethod.js"></script>
</head>
<body style="text-align:center;">
<link id="mylink" href="css/style<%=UIMethod.GetStyleValue()%>.css" type="text/css" rel="stylesheet"/>
    <form id="form1" runat="server">
   
   
   <div style="width:500px;">
	<div class="title_right2" style="padding-left:35px; padding-top:5px; text-align:left;">
		<span class="title_maintxt"><b>添加新公告</b></span>
	</div>	
	<table cellSpacing="0" cellPadding="0" width="100%" class="border">
		<tr>
			<td style="text-align:right; width:120px; height:30px;" class="tdbg_left">数据视图：</td>
			<td style="text-align:left;">
			
			<!--数据视图 start-->
                类别编号：<uc1:WUC_DialogTextBox ID="WUC_DialogTextBox1" runat="server" DataValue="0" DialogHeight="120"
            DialogTitle="类别编号" DialogURL="../SControls/SelectClass.aspx?isid=0" DialogWidth="300" /> <br/>
                类别结构：<uc1:WUC_DialogTextBox ID="dtb_FromID" runat="server" DataValue="0" DialogHeight="120"
            DialogTitle="类别结构" DialogURL="../SControls/SelectClass.aspx?isid=1" DialogWidth="300" /><br/>
                数据编号：<uc1:WUC_DialogTextBox ID="dtb_SourceID" runat="server" DialogHeight="120" DialogTitle="选择数据源" DialogURL="../SControls/SelectDataSource.aspx" DialogWidth="300" />                    
                <!--数据视图 end-->
			
			<hr />
			</td>
		</tr>
		<tr>
			<td style="text-align:right; width:120px; height:30px;" class="tdbg_left">URL序列化：</td>
			<td style="text-align:left;">
			
			<!--URL序列化 start-->                    
                    <table border="0">
                      <tr>
                        <td>
                          <input type="text" id="txt_source"/>
                        </td>
                        <td>
                          <input type="button" value="序列化" onclick="txt_result.value = escape(txt_source.value);"/>
                        </td>
                      </tr>
                      <tr>
                        <td>
                          <input type="text" id="txt_result" />
                        </td>
                        <td>
                          <input type="button" value="反序列" onclick="txt_source.value = unescape(txt_result.value);"/>
                        </td>
                      </tr>
                    </table>
                <!--URL序列化 end-->
			<hr />
			</td>
		</tr>
		<tr>
			<td style="text-align:right; width:120px; height:30px;" class="tdbg_left">标签测试：</td>
			<td style="text-align:left;">
			
			<!--标签测试 start-->                
                标签：<input type="text" id="txt_TagName" /><br />
                参数：<input type="text" id="txt_paras" /><br />
                <input type="button" value="测试" onclick="window.open('../GlobalFunction/Ajax_Tag.aspx?TagName=' + escape(txt_TagName.value) + '&paras=' + escape(txt_paras.value));"/>                
                <!--标签测试 end-->
			
			</td>
		</tr>
		</table>
      <!--大表格End-->
	<!--阴影-->
	<div style="width:98%;" class="tdbg_left2">
	</div>
	<!--阴影end-->
</div>
    </form>
</body>
</html>
